#pragma once
class Client
{
private:
	std::string _username_;
	std::string _password_;
	std::string _freindName_;
	std::string _tempPass_;
	std::string _out_[1000] ;
public:
	bool _logged_;
	Client();
	std::string getUserName(){return _username_;}
	bool SignUp			(std::string username_,std::string password_);
	bool login			(std::string username_,std::string password_);
	bool signOut		();
	void exchange		(std::string send,std::string recieve,int sizeOfRecieve);
	///freind request
	int Add_Frind		(std::string username_,std::string freindName_ );
	int Remove_Frind	(std::string username_,std::string freindName_ );
	char* ShowFrinds(std::string username_);
	char* send			(std::string temp_str);
	char* Showrequests  (std::string username_);
	int Cancel_request	(std::string username_,std::string freindName_ );
	~Client(void);
	
	//-----Amr Shibiny-----
	bool addevent(std::string begin_hour, std::string begin_date, std::string end_hour, std::string end_date, std::string event_name);
	char* getEventStart(std::string event_name);
	char* getEventEnd(std::string event_name);
	void changeEventBeginning(std::string event_name, std::string sub_hour, std::string sub_date);
	void changeEventEnd(std::string event_name, std::string sub_hour, std::string sub_date);
	void deleteevent(std::string event_name);
	void invitefriends(std::string nameevent);

};